package org.colafries.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Ann
 * @version v1.0
 * @ClassName BaseService
 * @Description
 * @date Created in 2024/6/7
 **/
public interface IBaseService<T, V> extends IService<T> {

    List<T> listAll(V v);

    int add(V v);

    int update(V v);

    int delete(V v);

    IPage<T> pageList(V v);
}
